package com.wl.pojo.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * @program: treeHole
 * @author: 吴磊
 * @create: 2021-07-07 21:41
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ArticleModel implements Serializable {
    private static final long serialVersionUID = -1669075470154463956L;
    private String articleId;
    private String userId;
    private String articleContent;
    private List<String> articleLabels = new ArrayList<>();
    private String articleLabel;
    private String articleDate;
    private String articleStatus;
    private Integer articleUpCount = 0;   //文章点赞数量
    private Integer articleDownCount = 0;   // 文章踩赞数量
    private Integer articleCommentCount = 0;   // 文章评论数量
    private boolean articleIsUp = false;   //是否点赞
    private boolean articleIsDown = false;  //是否踩赞
    private boolean beLongToOwner = false;   //此文章是否是自己的
}
